home *** CD-ROM | disk | FTP | other *** search
/ Softdisk for Windows 42 / Softdisk for Windows 42.iso / QUARRY / QUARRY.EXE / QUARRY.dxr / 00074_DOSITDOWNBLUE.ls < prev    next >
Encoding:
Text File  |  1998-01-01  |  532 b   |  22 lines

  1. on DOSITDOWNBLUE
  2.   global GRIDV, GRIDH, GRIDY, TURN, SOND, TBBB, TB
  3.   set TB to 0
  4.   set TBBB to 0
  5.   if TURN = 2 then
  6.     repeat while TB = 0
  7.       set TBBB to random(140)
  8.       if getAt(GRIDV, TBBB) = 2 then
  9.         if SOND = 0 then
  10.           puppetSound("SIT")
  11.         end if
  12.         set the locH of sprite 10 to getAt(GRIDH, TBBB)
  13.         set the locV of sprite 10 to getAt(GRIDY, TBBB)
  14.         set the castNum of sprite 10 to 71
  15.         updateStage()
  16.         set TB to 1
  17.       end if
  18.     end repeat
  19.   end if
  20.   REMOVESPRITE()
  21. end
  22.